//
//  TKIMGroupPhotoCell.h
//  TKPhotoSelectDemo
//
//  Created by liupm on 16/4/20.
//  Copyright © 2016年 liupm. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TKIMPhotoModel.h"
@protocol TKIMImageSelectCellDelegate <NSObject>
/**
 *  @Author lpm, 16-04-20 23:04:59
 *
 *  @brief  照片是否被选中
 *
 *  @param model
 */
-(void)photo:(TKIMPhotoModel *)model isSelected:(BOOL)isSelected;
@end
@interface TKIMImageSelectCell : UICollectionViewCell
@property(nonatomic,strong) UIButton *checkBox;
@property(nonatomic,strong)TKIMPhotoModel *model;
@property(nonatomic,weak) id<TKIMImageSelectCellDelegate> delegate;
/**
 *  @Author lpm, 16-04-20 22:04:24
 *
 *  @brief  选中图片
 */
-(void)doCheck;

@end
